
pkgname=libgpg-error
pkgver=1.31
pkgrel=1
pkgdesc="Support library for libgcrypt"
arch=('x86_64')
url="https://www.gnupg.org/software/libgpg-error/index.html"
license=('LGPL')
depends=('glibc' 'sh')
options=('!libtool')
source=("https://www.gnupg.org/ftp/gcrypt/libgpg-error/${pkgname}-${pkgver}.tar.bz2")
sha1sums=('2bafad316d4e3e12bae4822b14ed9020090e6acf')

build() {
  cd ${pkgname}-${pkgver}

  ./configure --prefix=/usr
  make 
}

check() {
  cd ${pkgname}-${pkgver}
  
  make check
}


package() {
  cd ${pkgname}-${pkgver}

  make DESTDIR=${pkgdir} install 
}

